
import { createApp } from 'vue'
import App from './App.vue'

// 1.引用全局组件
import HmButton from './components/HmButton.vue';
const app = createApp(App)

// 2.注册全局组件
// 注册放在挂载之前
app.component('HmButton',HmButton)
app.mount('#app')
